package com.ruoyi.system.service.impl;

import com.ruoyi.system.mapper.SysUserRoleMapper;
import com.ruoyi.system.service.ISysUserRoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ISysUserRoleServiceImpl implements ISysUserRoleService {

    @Autowired
    private SysUserRoleMapper userRoleMapper;

    @Override
    public int insertSysUserRole(Long userId, Long roleId) {
        return userRoleMapper.insertSysUserRole(userId, roleId);
    }
}
